#!/usr/bin/python2.5
# Copyright (c) 2008 MalFind

__author__ = "mavrommatis@gmail.com (Panayiotis Mavrommatis)"

import os
import handler_lib
from google.appengine.ext import webapp
from google.appengine.ext.webapp import template

class Index(webapp.RequestHandler):
  '''Handles a / request.'''
  def get(self):
    path = os.path.join(os.path.dirname(__file__), 'html/index.html')
    self.response.out.write(template.render(path,
        {'userdata': handler_lib.GetUserData()}
    ))
